//
//  BVLoginAndRegisNav.m
//  XiangYu
//
//  Created by YYKJ on 2017/6/26.
//  Copyright © 2017年 YYKJ. All rights reserved.
//

#import "BVLoginAndRegisNav.h"

@interface BVLoginAndRegisNav ()

@end

@implementation BVLoginAndRegisNav

- (void)viewDidLoad {
    [super viewDidLoad];
    
    //设置标题文字颜色以及字体
    [self.navigationBar setTitleTextAttributes:
     @{NSFontAttributeName:[UIFont systemFontOfSize:16],
       NSForegroundColorAttributeName:COLOR_RGB(254, 255, 254, 1.0)}];//导航栏字体颜色
    
    //设置导航栏颜色
    self.navigationBar.barStyle = UIBarStyleDefault;
    self.navigationBar.barTintColor = [UIColor BVNavBackgroundColor];
    self.navigationBar.translucent = NO;   //关闭导航栏半透明效果
    
    //返回按钮箭头颜色
    self.navigationBar.tintColor = [UIColor BVNavReturnAndtitelGrayColor];
    
    UIBarButtonItem *returnButtonItem = [[UIBarButtonItem alloc] init];
    returnButtonItem.title = @" ";
    self.navigationItem.backBarButtonItem = returnButtonItem;
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    
}


@end
